home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / games / mini_poo.swf / scripts / DefineSprite_52 / frame_1 / DoAction.as
Encoding:
Text File  |  2010-11-09  |  315 b   |  14 lines

  1. this.onEnterFrame = function()
  2. {
  3.    if(_root.paused == 0)
  4.    {
  5.       timpul = Math.round((timpIni - getTimer()) / 1000);
  6.       timpTXT = Math.round(timpul / 10);
  7.       timp.text = timpTXT;
  8.       if(timp.text == "0" && this._visible == 1)
  9.       {
  10.          _root.gotoAndStop("gameOver");
  11.       }
  12.    }
  13. };
  14.